package com.songcan.common.contans;

public  class CoreContants {

    public static final String ERROR_EXCEPTION = "系统错误，请联系管理员";

    /**异常错误权重**/
    // 成功
    public static final String SUCCESS = "200";
    // 失败
    public static final String UNKNOWN = "-1";
    //404
    public static final String NOT_SERVICE="404";
    // 参数不合法
    public static final String ERROR_PARAM_ILLEGAL = "4000";
    //参数不存在
    public static final String ERROR_ENTITY_NOT_EXISTS="1000";
    //token过期
    public static final String ERROR_TOKEN_INVALID = "3000";
    /**auth header**/
    public static final String CORE_HEADER = "Authorization";
    public static final String CORE_USER = "x-user-header";
    public static final String CORE_ORGANIZATION = "x-organization-header";
    public static final String CORE_ROLE = "x-role-header";

    public static final String THRID_LOGIN ="/three/login";
    public static final String METHOD_POST="POST";
    public static final String TYPE_MOBILE = "mobile";
    public static final String TYPE_WECHAT = "wechat";
    public static final String TYPE_ALIYUN = "aliyun";
    public static final String TOKEN_KEY = "Authorization";
    public static final String UTF8 = "utf-8";
    public static final String CONTENT_TYPE = "application/json";
    public static final String MOBILE_CODE = "MOBILE_CODE";

    /**测试使用**/
    public static final String ADMIN = "business";
    public static final String  MERCHANT = "operating";


}
